package com.dao;

import java.util.List;

import com.bean.ProcureInquiry;
import com.bean.SupplierProduct;

public interface SupplierProductDao {

	public abstract void save(SupplierProduct transientInstance);

	public abstract void delete(SupplierProduct persistentInstance);

	public abstract SupplierProduct findById(java.lang.Integer id);

	public abstract List findByExample(SupplierProduct instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByProcId(Object procId);

	public abstract List findBySuid(Object suid);

	public abstract List findByPrice(Object price);

	public abstract List findByProductCode(Object productCode);

	public abstract List findByMemo(Object memo);

	public abstract List findAll();

	public abstract SupplierProduct merge(SupplierProduct detachedInstance);

	public abstract void attachDirty(SupplierProduct instance);

	public abstract void attachClean(SupplierProduct instance);
	
	public abstract List<SupplierProduct> getAllSupProdList(String table,String pk,String sort,int PageNumber,int PageSize ,String querys);

	/**
	 * 中标
	 */
	public abstract void updateSupplierProduct(Integer id);
}